﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductSalesSummary.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.Product.ProductSalesSummary" %>



<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>


<%=_framePage.TabInfoHtml()%>

<form id="pageForm" method="post" class="pageForm" runat="Server">
<div class="pageHeader">
	<div class="searchBar">

        <table class="searchContent">
        	<tr>
        		<td>产品编号</td>
                <td> <input   type="text" cond='productNo' value='<%=Request["productNo"] %>'/></td>
			<td>
			    <span>起止时间&nbsp;</span>
				<asp:TextBox ID="start" runat="server" class="date" format="yyyy-MM-dd" readonly="true" cond="start" ></asp:TextBox>&nbsp;至
			    <asp:TextBox ID="end" class="date" format="yyyy-MM-dd" readonly="true" runat="server" cond="end"></asp:TextBox>&nbsp;
			</td> 
        		<%--<td>状态</td>
                <td> 
                <select cond="status">
                    <option value="-1">--请选择--</option>
                </select>
                </td>--%>
                
        	</tr>
        </table>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
            
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.exportFile(this);" 
			    target="dwzExport" rel="exportexcel" title="导出EXCEL"><span>导出EXCEL</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>
</form>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
<%--			<li><a class="add"  href="/SystemManage/Basics/Shop/Member/MemberDetail.aspx" target="navTab" rel="MemberDetail" title="会员明细"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/Basics/Shop/Member/MemberDelete.aspx" target="selectedTodo" title="请确定要删除勾选会员"><span>删除</span></a></li>--%>
		
        </ul>
	</div>
	<div class="tableList"   layoutH="116">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
				<th style="width:80px">图片</th>
				<th>产品编号</th>
				<th>产品SKU编号</th>
				<th style="width:180px">产品名称</th>
				<th>日期</th>
				<th>当天销量</th>
				<th>当天营业额</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid">
                <td style="hight:80px"><img style="hight:80px;width:80px" src="<%#ZLCMS.Business.Util.FileKit.FirstFilePath(((IDictionary)Container.DataItem)["THUMBNAIL_IMG"]) %>" /></td>
                <td> <%#((IDictionary)Container.DataItem)["PRODUCT_NO"]%></td>
				    <td> <%#((IDictionary)Container.DataItem)["PRODUCT_SKU_NO"]%></td>
				    <td> <%#((IDictionary)Container.DataItem)["PRODUCT_NAME"]%>
                    <%#ZLCMS.Commands.Pub.Util.SkuProductKit.GetSkuItemNames(((IDictionary)Container.DataItem)["PARAM_CODE"] as string)%></td>
				    <td> <%#string.Format("{0:yyyy-MM-dd}", ((IDictionary)Container.DataItem)["DATE"])%></td>
				    <td> <%#((IDictionary)Container.DataItem)["SALES_COUNTER"]%></td>
				    <td> <%#((IDictionary)Container.DataItem)["SALES_AMOUNT"]%></td>

			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>
	
    
    
<%= _framePage.GetPagerContentHtml() %>
</div>
